/*
 * @Descripttion:
 * @Author: caijj
 * @Date: 2020-11-16 10:57:27
 * @LastEditors: caijj
 * @LastEditTime: 2021-03-18 17:19:18
 */
import Vue from 'vue';
import Vuex from 'vuex';
import getters from './getters';
import app from './modules/app';
import settings from './modules/settings';
import user from './modules/user';
import diclist from './modules/diclist';
import permission from './modules/permission';
import retail from './modules/retail';

Vue.use(Vuex);

const store = new Vuex.Store({
  modules: {
    app,
    settings,
    user,
    diclist,
    permission,
    retail
  },
  getters
});

export default store;
